package com.itheima.date;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

public class DateDemo4 {
    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        System.out.println(now);

        LocalDateTime time = LocalDateTime.of(1987, 8, 26, 0, 0, 0);
        System.out.println(time);

        LocalDate date = LocalDate.of(1992, 10, 26);
        System.out.println(date);

        LocalTime localTime = LocalTime.of(11, 11, 11);
        System.out.println(localTime);
    }
}
